package com.hz.pay.center.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
public class PayCenterConfig {

    //支付宝支付的配置文件

//    @Value("{pay.aliapy.appId}")
    String appId = "2016101200667654";

    String url = "https://openapi.alipaydev.com/gateway.do";

    String charSet = "utf-8";

    String format = "json";

    String signType = "RSA2";

    String privateKey = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCV09rn2Sq/D5sfRpHPzosTy6pyIQj7b6Ye4OImTMp7Ny/AnedF1ySmFO4VjCYIP/GtDnjIPk7wTJRZ88uuPQDhyIZJ4R4Tx8jVRq0PczRCECcjDK2Jz6P+z5Vil7g8WEe3A0hq9fKRnRExZgvIJIbLiKLF5Udbgp6MrSCTv8fa06F7N2GmN/XgJxWjaLzj8Czmk+sCKTO33yHTaeCmEu169RaKEnhvT0QtJxoUfDPsCJ+cb9GPBowhIjsx1v4EddIQdHQYZQlPiW1Nd7ELe9XOJNFXndittBo2AImgmoFhEqFAn3crYZE+kpdqU5bbIIzCoVDjhbGXuP76pSBuv5qrAgMBAAECggEAVhizxl9I7Rnurf5DdALgcLOscoEBRFtYPo5D5nZiNIP18N3MNJn4+Wc1mTQ79qmoGyYhyg/kFLos1bP+61Uq2JP+dx3hxsQbaFOAx0wQT5Ywpzd10ad8OcTXtxwwRp0EOOquBqjmhz6WzqgxRQWYYAVYZBfo9XEN4xDpk321Ps1UG1PR7eVPRA1l5kk4JXqJiotLprVDxo/lNmILrGSYgdu7YP/y7uUXbHu6cHg5JGf4lD1ylh9mnNXQVD/kqoBBXrJbl2XbIEL9Mb7oE6vfMcbdkllz3ont++HTUm0JZlyWqDfiocm1mKXCU8EJAGbGZhQvFtnLHdl32e8PJKxUoQKBgQDV7/EGQS6AprulbGxDTTZLHe9bwwAueVFvkBcdkFX2ogjJAFZPrv+JTswEFLd2t3pDCbN6o3RXHSzPQP9XEKkvzJuw3HnXrPg8LSC3Woxr4d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PgeIUNqYU1LsWgqqDxhL5eDYIGGvPMr5aFq9s29BjEAWdoDDAnUt8R0azhc1A6I1ONVspQToxPAMMVaYAirb1EXrQIDAQAB";


    /**
     * 支付成功后异步回调地址
     */
//    String  notifyUrl = "http://paycenter.free.idcfengye.com/pay/result";

     String  notifyUrl = "http://ddz75z.natappfree.cc/pay/result";


    //卖家id             商户UID2088102179213370

    //卖家邮箱     商家账号xydskv8413@sandbox.com



//    @Value()
    int maxRefundCount = 10;


}
